part of 'user_profile_bloc.dart';

sealed class UserProfileState extends Equatable {
  const UserProfileState();
  
  @override
  List<Object> get props => [];
}

final class UserProfileInitial extends UserProfileState {}

class UserProfileUninitialized extends UserProfileState{}

class UserProfileLoading extends UserProfileState{}

class UserProfileLoaded extends UserProfileState {
  final MyUser user;

  const UserProfileLoaded(this.user);


  @override
  List<Object> get props => [user];
}

class UserProfileError extends UserProfileState {
  final Object error;
  // final MyUser user;

  const UserProfileError(this.error);


  @override
  List<Object> get props => [error];
}